package com.yjc.hire.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjc.pojo.Industry;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/7/28
 * </p>
 */

@Mapper
public interface IndustryMapper extends BaseMapper<Industry> {

    Industry selectindustryByName(String industryName);

    List<Industry> getIndustryTopNodeList();

    List<Industry> getChildrenNodeList(String industryId);

    Long getChildNodeCount(String industryId);

    Industry getIndustryById(String industryId);

}
